<?php

class IndexController extends BaseController
{

    public function init()
    {
        $controller_index = $this->getRequest()->getRequestUri();
        $controller_index = explode("/", $controller_index);
        $controller_index = in_array("index", $controller_index);
        
        if ($controller_index) $this->redirectHome();
    }

    public function indexAction()
    {
        // action body
    }


}

